package com.jishulianmeng.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Classify entity. @author monologu
 */

public class Classify implements java.io.Serializable {

	// Fields

	private long classifyId;
	private String classifyName;
	private Set photoses = new HashSet(0);

	// Constructors

	/** default constructor */
	public Classify() {
	}

	/** minimal constructor */
	public Classify(String classifyName) {
		this.classifyName = classifyName;
	}

	/** full constructor */
	public Classify(String classifyName, Set photoses) {
		this.classifyName = classifyName;
		this.photoses = photoses;
	}

	// Property accessors

	public long getClassifyId() {
		return this.classifyId;
	}

	public void setClassifyId(long classifyId) {
		this.classifyId = classifyId;
	}

	public String getClassifyName() {
		return this.classifyName;
	}

	public void setClassifyName(String classifyName) {
		this.classifyName = classifyName;
	}

	public Set getPhotoses() {
		return this.photoses;
	}

	public void setPhotoses(Set photoses) {
		this.photoses = photoses;
	}

}